<style tyle="text/css">
    /* .modal-lg {
        width: 60%;
    } */
</style>
<div class="modal-header">
    <h4 class="modal-title">订单信息</h4>
</div>
<div class="modal-body clearfix">
    <div class="col-xs-12">
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">订单名称:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.title}}</h4>
            <h4 class="col-xs-3 control-label">订单编号:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.order_code}}</h4>
        </div>
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">卡面号:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.smart_card_no}}</h4>
            <h4 class="col-xs-3 control-label">商品编号:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.sale_code}}</h4>
        </div>
        <!-- <div class="line line-dashed b-b line-lg pull-in"></div> -->
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">购买数量:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.num}}</h4>
            <h4 class="col-xs-3 control-label">使用数量:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.used}}</h4>
        </div>
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">归还:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.restore}}</h4>
            <h4 class="col-xs-3 control-label">支付金额(元):</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.pay_fee}}</h4>
        </div>
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">支付状态:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.is_pay == '1'? '已支付': '未支付'}}</h4>
            <h4 class="col-xs-3 control-label">设备号:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.device_code}}</h4>
        </div>
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">机构编号:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.create_by}}</h4>
            <h4 class="col-xs-3 control-label">下单时间:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.create_time}}</h4>
        </div>
        <div class="col-xs-12">
            <h4 class="col-xs-3 control-label">支付方式:</h4>
            <h4 class="col-xs-3 control-label text-left" ng-switch="order.pay_type">
                <span ng-switch-when="1">现金</span>
                <span ng-switch-when="2">微信</span>
                <span ng-switch-when="3">支付宝</span>
                <span ng-switch-when="4">储值商品</span>
                <span ng-switch-default></span>
            </h4>
            <h4 class="col-xs-3 control-label">取消时间:</h4>
            <h4 class="col-xs-3 control-label text-left">{{order.cancel_time}}</h4>
        </div>
        <div class="col-xs-12 col-md-12 mt10" ng-if="order.state == '0'">
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">审核意见</label>
                <div class="col-xs-8">
                    <textarea class="form-control" rows="3" ng-model="order.description"></textarea>
                </div>
            </div>
        </div>
        <div class="col-xs-12 text-center mt20" ng-if="order.state == '0'">
            <button class="btn btn-success" ng-click="ok('1')">审核通过</button>
            <button class="btn btn-danger" ng-click="ok('2')">审核不通过</button>
        </div>
    </div>
</div>

<div class="modal-footer">
    <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>